module.exports = {
    lintOnSave: false,
    devServer: {
        proxy: {
            '/api': { //代理api
                target: 'http://106.15.179.105/api', //服务器api地址
                ws: true, // proxy websockets
                changeOrigin: true, //是否跨域
                pathRewrite: { //重写路径
                    '^/api': ''
                }
            }
        }
    }
}